//void, ObjList objs, point pt, Obj obj, bool bReplace, bool bModifier, int player

Hero this;

if(objs.count != 1)
	return;

this = objs[0].AsHero();

if(!.IsValid())
	return;

if(.stamina < cmdcost_stamina)
	return;

if(!DiplGetCeaseFire(.player, player))
	return;

if(.UseSkill(HeroSkillId(cmdparam)))
	.SetStamina(.stamina - cmdcost_stamina);



